﻿using System;
using System.Collections.Generic;
namespace JSShop.Model
{
    /// <summary>
    /// Hishop_Promotions:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class Hishop_Promotions
    {
        public Hishop_Promotions()
        { }
        #region Model
        private int _activityid;
        private string _name;
        private int _promotetype;
        private decimal _condition;
        private decimal _discountvalue;
        private DateTime _startdate;
        private DateTime _enddate;
        private string _description;
        /// <summary>
        /// 
        /// </summary>
        public int ActivityId
        {
            set { _activityid = value; }
            get { return _activityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PromoteType
        {
            set { _promotetype = value; }
            get { return _promotetype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Condition
        {
            set { _condition = value; }
            get { return _condition; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal DiscountValue
        {
            set { _discountvalue = value; }
            get { return _discountvalue; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Description
        {
            set { _description = value; }
            get { return _description; }
        }
        #endregion Model
        private IList<int> memberGradeIds { get; set; }

        public IList<int> MemberGradeIds
        {
            get
            {
                if (this.memberGradeIds == null)
                {
                    this.memberGradeIds = new List<int>();
                }
                return this.memberGradeIds;
            }
            set
            {
                this.memberGradeIds = value;
            }
        }
        public string[] SkuIds { get; set; }

        public decimal Total { get; set; }

        public string PaymentTypeId { get; set; }

        public int Status { get; set; }
    }
}

